package com.canal.admin.dao;

import com.canal.admin.entity.data.ZcolStData;
import com.canal.admin.transfer.req.data.HistoryDataConditions;
import com.canal.admin.transfer.resp.rt.RtConvertResp;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author yangbo
 * @date 2020-07-16 11:27
 */
@Repository
public interface ZcolStDataMapper {

    /**
     * 批量保存
     * @param stDataList
     */
    void saveAll(@Param("stDataList")List<ZcolStData> stDataList);

    /**
     * 历史数据
     * @param conditions
     * @return
     */
    List<RtConvertResp> historyList(@Param("conditions")HistoryDataConditions conditions);
}
